package com.gopay.common.domain.acps;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

import com.gopay.common.domain.BaseEntity;


@Entity
@Table(name = "ACPS_CALC_BALANCE_ERR_DTL")
public class AcpsCalcBalanceErrDtl extends BaseEntity {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    public static final String SEQUENCE = "ACPS_CACL_BALANCE_ERR_DTL_SEQ";

    private long id;
    private long calcBalanceId;
    private String gopayOrderId;// GOPAY_ORDER_ID
    private BigDecimal errAmt;
    private BigDecimal currD;
    private BigDecimal currC;
    
    private Date created;
    private Date modified;
    
    @Id
    @Column(name = "ID", unique = true, nullable = false, precision = 22, scale = 0)
    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }

    @Column(name = "CALC_BALANCE_ID", nullable = false, precision = 22, scale = 0)
    public long getCalcBalanceId() {
        return calcBalanceId;
    }
    public void setCalcBalanceId(long calcBalanceId) {
        this.calcBalanceId = calcBalanceId;
    }
    @Column(name = "GOPAY_ORDER_ID", nullable = false, length = 30)
    public String getGopayOrderId() {
        return gopayOrderId;
    }
    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }
    @Column(name = "ERR_AMT", nullable = false, precision = 25, scale = 4)
    public BigDecimal getErrAmt() {
        return errAmt;
    }
    public void setErrAmt(BigDecimal errAmt) {
        this.errAmt = errAmt;
    }
    @Column(name = "CURR_D", nullable = false, precision = 25, scale = 4)
    public BigDecimal getCurrD() {
        return currD;
    }
    public void setCurrD(BigDecimal currD) {
        this.currD = currD;
    }
    @Column(name = "CURR_C", nullable = false, precision = 25, scale = 4)
    public BigDecimal getCurrC() {
        return currC;
    }
    public void setCurrC(BigDecimal currC) {
        this.currC = currC;
    }
    @Column(name = "CREATED", nullable = false)
    public Date getCreated() {
        return created;
    }
    public void setCreated(Date created) {
        this.created = created;
    }
    @Column(name = "MODIFIED", nullable = false)
    public Date getModified() {
        return modified;
    }
    public void setModified(Date modified) {
        this.modified = modified;
    }


    
}
